package routers

import (
	"familytree/controllers"

	"github.com/gin-gonic/gin"
)

func peopleRouter(r *gin.RouterGroup) {
	r.GET("/peoples", controllers.Getpeople)
	r.DELETE("/peoples", controllers.Delpeople)
	r.PUT("/peoples", controllers.Updatepeople)
	r.POST("/peoples", controllers.Addpeople)
}
